package com.share.simple.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author:caifan
 * @since 2023/7/10
 */
@Data
public class BaseEntity implements Serializable {

    private static final long serialVersionUID = 3597000681096313084L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private LocalDateTime createTime;
}
